<template>
    <van-sticky>
        <van-nav-bar title="订单详情" left-arrow @click-left="onClickLeft" />
    </van-sticky>
<van-contact-card type="edit" name="张三" tel="13000000000" :editable="false" />
<van-card
  num="2"
  price="2.00"
  desc="描述信息"
  title="商品标题"
  thumb="https://fastly.jsdelivr.net/npm/@vant/assets/ipad.jpeg"
>
  <template #tags>
    <van-tag plain type="primary"><b>阿达是否个行程你说法等哈经济法金额</b></van-tag>
    <van-tag plain type="primary">标签</van-tag>
  </template>
  <template #footer>
    <van-button size="mini">￥29.58</van-button>
    <van-button size="mini">x1</van-button>
  </template>
</van-card>

<van-submit-bar :price="2958" button-text="付款" @submit="onSubmit" />

</template>

<script setup>
import { ref } from "vue";
import { useRouter, useRoute } from 'vue-router'
const router = new useRouter()
const route = new useRoute()

const onSubmit=()=>{
    router.push({
        path:'/My'
    })
}
</script>

<style lang="scss" scoped></style>